package com.imooc.collection;

/**
 * @author duyong
 * @version 1.0
 * @date 2019/10/23 15:35
 */

/**
 * 定义课程类
 */
public class Course {
    //属性
    private String id;
    private String name;

    //构造器
    public Course(String id, String name) {
        this.id = id;
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
